package com.ruoyi.kesheSys.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人口区域信息对象 population_region
 * 
 * @author keshe
 * @date 2024-12-22
 */
public class PopulationRegion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域ID */
    private Long regionId;

    /** 区域代码 */
    @Excel(name = "区域代码")
    private String regionCode;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String regionName;

    /** 人口基本信息信息 */
    private List<PopulationInfo> populationInfoList;

    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setRegionCode(String regionCode) 
    {
        this.regionCode = regionCode;
    }

    public String getRegionCode() 
    {
        return regionCode;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }

    public List<PopulationInfo> getPopulationInfoList()
    {
        return populationInfoList;
    }

    public void setPopulationInfoList(List<PopulationInfo> populationInfoList)
    {
        this.populationInfoList = populationInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regionId", getRegionId())
            .append("regionCode", getRegionCode())
            .append("regionName", getRegionName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("populationInfoList", getPopulationInfoList())
            .toString();
    }
}
